package org.tlipoca.smarticlefavorites.client;

import org.genntii.smcommon.result.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient("sm-userDirectory")
public interface UserDirectoryClient {

    @GetMapping("/user_directory/exists")
    Result<Boolean> getUserDirectoryExists(@RequestParam("directoryId") Long directoryId);
}
